<!DOCTYPE html>
<html>
<head>
<title>代码生成器</title>
<#include "/header.html">
</head>
<body>
<div id="rrapp">
	<!-- <div class="grid-btn">
		<div class="form-group col-sm-2">
			<input type="text" class="form-control" v-model="q.userName" @keyup.enter="query" placeholder="用户名">
			<input type="text" v-model="q.mobileNo" @keyup.enter="query" placeholder="手机号">
			<select v-model="q.statusCash" @keyup.enter="query">
				<option value="0" >正常</option>
				<option value="1" selected="selected">已退押金</option>
				<option value="2">欠费</option>
				<option value="3">严重欠费</option>
			</select>
		</div>
		<a class="btn btn-default" @click="query">查询</a>
	</div> -->
	<button id="add_user" @click="addSubjectHtml">添加主题</button>
	<!-- <form action="http://127.0.0.1:9001/wdb-security/upDown/file/upexecel" method="POST" enctype="multipart/form-data">
		<input type="file" name="file" multiple="multiple" id="imageFile" /><br>
		<button type="submit">上传</button>
	</form> -->
    <table id="jqGrid"></table>
    <div id="jqGridPager"></div>
</div>

<script src="${request.contextPath}/statics/js/modules/book/book-subject.js?_${.now?long}"></script>
<script type="text/javascript">
	
	function deleteSubject(id){
		vm.deleteSubject(id);
	}
	function updateSubjectHtml(id,topicalName,description){
		vm.updateSubjectHtml(id,topicalName,description);
	}
	function updateSubject(id,topicalCode,topicalName,description){
		vm.updateSubject(id,topicalCode,topicalName,description);
	}
</script>
</body>
</html>